Resource
A resource in a media item.
A media resource instance is a parcelable object, and as such may be used with android's parcelable-supporting utilities, such as conveying media items in Intent (see Intent.putExtra) or in Bundle (see Bundle.putParcelable) objects.
Note however that, since a media resource is linked to its media item parent, serializing a media resource to a parcel amounts to serializing its media item parent, plus an index to the resource in that parent. As a consequence, serializing multiple resources from the same media is rather expensive memory-wise; for this use case, consider using a MediaResourceList instance, which provides an optimized way to serialize an heterogeneous collection of media resources.